package edu.langnan.xiaoli;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author cql
 */
// 开启事务（默认是开启的,TransactionAutoConfiguration）
@EnableAsync
@EnableTransactionManagement
@SpringBootApplication
public class XiaoLiApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaoLiApplication.class, args);
    }

}
